import React from "react";
import {
    FileTextOutlined,
    BankOutlined
} from "@ant-design/icons";
const router = [
    {
        key: "/",
        icon: <BankOutlined />,
        label: "首页",
        component: React.lazy(() => import("../views/home"))
    },
    {
        key: "/mycourse",
        icon: <BankOutlined />,
        label: "我的课程",
        component: React.lazy(() => import("../views/mycourse/waitclass")),
    },
    {
        key: "/mystudent",
        icon: <BankOutlined />,
        label: "我的学生",
        component: React.lazy(() => import("../views/mystudent"))
    },
    {
        key: "/detection",
        icon: <BankOutlined />,
        label: "设备检测",
        component: React.lazy(() => import("../views/detection"))
    },
    {
        key: "/help",
        icon: <BankOutlined />,
        label: "帮助",
        component: React.lazy(() => import("../views/Help"))
    },
    {
        key: "/coursemanage",
        icon: <FileTextOutlined />,
        label: "课件管理",
        component: React.lazy(() => import("../views/courseManage/index"))
    },
    {
        key: "/setup",
        icon: <FileTextOutlined />,
        label: "设置",
        component: React.lazy(() => import("../views/setup/index"))
    },
];

export default router;
